Murugan.com
Murugan Andezuthu Dharmaratnam

  |  HOME   |  BLOG   |  TWITTER   |  ARTICLES   |  8086  |  C++   |  VC++   |  ASP .NET   |  VB .NET   |  JAVA SCRIPT   |  MS SQL   |  PHP   |  MY   |  VIDEOS   |  DOWNLOADS   |  CONTACT ME   |  



8086 Set Text Mode Cursor Shape Int 10H AH 01


Home  > 8086  > interrupt list  > int 10 video interrupt  > 8086 Set Text Mode Cursor Shape Int 10H AH 01 
       
Set the cursor shape in dos mode. or video mode text or video text mode. 

Let me know if you need a sample code. send me a mail and I will send u the code. 


INT 10 - VIDEO - SET TEXT-MODE CURSOR SHAPE
	AH = 01h
	CH = cursor start and options (see #0012)
	CL = bottom scan line containing cursor (bits 0-4)
Desc:	specify the starting and ending scan lines to be occupied by the
	  hardware cursor in text modes
Notes:	buggy on EGA systems--BIOS remaps cursor shape in 43 line modes, but
	  returns unmapped cursor shape
	UltraVision scales size to the current font height by assuming 14-line
	  monochrome and 8-line color fonts; this call is not valid if cursor
	  emulation has been disabled
	applications which wish to change the cursor by programming the
	  hardware directly on EGA or above should call INT 10/AX=1130h or
	  read 0040h:0085h first to determine the current font height
	on some adapters, setting the end line greater than the number of lines
	  in the font will result in the cursor extending to the top of the
	  next character cell on the right
BUG:	AMI 386 BIOS and AST Premier 386 BIOS will lock up the system if AL
	  is not equal to the current video mode
SeeAlso: AH=03h,AX=CD05h,AH=12h/BL=34h,#2469

Bitfields for cursor start and options:
Bit(s)	Description	(Table 0012)
 7	should be zero
 6,5	cursor blink
	(00=normal, 01=invisible, 10=erratic, 11=slow)
	(00=normal, other=invisible on EGA/VGA)
 4-0	topmost scan line containing cursor

Int 10 AH 00 Set Video Mode

8086 Set Text Mode Cursor Shape Int 10H AH 01

8086 interrupt 10h function 02h to set the cursor position

index

8086 Assembly Lanuage Interrupt int10h Function 03H Get The Cursor Position

8086 int 10h function 05 to set the active display page

8086 interrupt 10h function 06h int10 ah 06h to scroll up the windows

8086 video interrupt 10h function 07 to scroll down the window

8086 interrupt ah 08 int 10h to read character at current cursor position

8086 int to display a character in10h function 09



  |  HOME   |  BLOG   |  TWITTER   |  ARTICLES   |  8086  |  C++   |  VC++   |  ASP .NET   |  VB .NET   |  JAVA SCRIPT   |  MS SQL   |  PHP   |  MY   |  VIDEOS   |  DOWNLOADS   |  CONTACT ME   |  

Copyright 2009 @ Murugan Andezuthu Dharmaratnam